<html>
<body>
<div id="test1">
  <span id="span">Choose one:</span>
  <button aria-haspopup="listbox" aria-labelledby="span test" id="test">Foo</button>
  <ul id="options" tabindex="-1" role="listbox" aria-labelledby="span" onclick="console.log('hi')">
    <li id="option1" role="option">Baz</li>
    <li id="option2" role="option">Bar</li>
    <li id="option3" role="option">Foo</li>
  </ul>
</div>
</body>
</html>
